package com.InvoicingSystem.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.InvoicingSystem.pojo.Sale;



public interface SaleMapper {

	public int addSale(Sale sale);

	public List<Map<String, Object>> findPageAll(@Param("indexPage") Integer indexPage, 
			@Param("pageSize") Integer pageSize, 
			@Param("orderByIndex") Integer orderByIndex);

	public int getTotalPage();

}
